package com.frank.http.encryp;

import java.io.IOException;
import java.io.OutputStream;

/**
 * 编码类
 * 
 * @author Frank
 * @version 1.0 Create by 2016.1.21
 */
public abstract interface Encoder
{
  public abstract int encode(byte[] paramArrayOfByte, int paramInt1, int paramInt2, OutputStream paramOutputStream)
    throws IOException;

  public abstract int decode(byte[] paramArrayOfByte, int paramInt1, int paramInt2, OutputStream paramOutputStream)
    throws IOException;

  public abstract int decode(String paramString, OutputStream paramOutputStream)
    throws IOException;
}